Skip to content

Daily Repo Goal Achiever: Fix typos and add Artifacts Summary workflow#148

Draft
github-actions[bot] wants to merge 2 commits intomainfrom
daily-goal-achiever-20260213-bf9a08a6811e4d90
Draft

Daily Repo Goal Achiever: Fix typos and add Artifacts Summary workflow#148
github-actions[bot] wants to merge 2 commits intomainfrom
daily-goal-achiever-20260213-bf9a08a6811e4d90

Conversation

@github-actions
Copy link
Contributor

This PR addresses both Phase 1 (consistency checks) and Phase 2 (workflow discovery) of the Daily Repo Goal Achiever task.

Phase 1: Consistency Fixes

Fixed typos and numbering issues found during documentation review:

Issues Fixed

  1. Typo in workflows/daily-test-improver.md (line 123)

    • Fixed: "the a step""a step"
  2. Duplicate step numbering in workflows/pr-fix.md (lines 45-55)

    • Fixed: Steps numbered 4, 4, 5, 6, 7, 84, 5, 6, 7, 8, 9

These were identified through systematic review of all workflow and documentation files for typos, grammar issues, and clarity problems.

Phase 2: Workflow Discovery - Artifacts Summary

Added a new general-purpose workflow from Peli's Agent Factory: Artifacts Summary

Source

Why This Workflow is Valuable

Perfect for General Use:

  • ✅ No language dependencies (works for any tech stack)
  • ✅ No framework dependencies
  • ✅ Works for ANY repository with GitHub Actions
  • ✅ Uses only standard GitHub APIs
  • ✅ Simple, focused, practical scope

Business Value:

  • Cost Management: Helps teams monitor and reduce GitHub Actions storage costs
  • Visibility: Provides clear insights into which workflows consume the most storage
  • Actionable: Delivers specific optimization recommendations
  • Proactive: Catches storage issues before they become expensive
  • Team Communication: Discussion format enables collaborative review

What It Does

  1. Analyzes all workflows in the repository
  2. Collects artifact data from recent runs (last 30 days)
  3. Calculates statistics: count, total size, average size
  4. Generates a comprehensive report table
  5. Provides insights and optimization recommendations
  6. Creates a discussion for team review

Sample Output

Workflow Name Artifacts Count Total Size Avg Size Latest Run Status
CI Tests 45 2.3 GB 52 MB 2024-01-15 Active
Build 12 456 MB 38 MB 2024-01-10 Active

Plus insights like:

  • Which workflows generate the most artifacts
  • Storage optimization recommendations
  • Trend analysis and cost projections

Generalization Changes

To make this workflow suitable for the general-purpose agentics collection:

Removed:

  • Shared imports (shared/mood.md, shared/reporting.md, shared/safe-output-app.md)
  • Sandbox/firewall configuration (not in base agentics setup)
  • strict: true mode
  • gh-aw-specific references

Changed:

  • Schedule: weekly on sunday around 06:00weekly (more flexible)
  • Safe outputs: Simplified to discussion only
  • Documentation: Enhanced with clearer general-purpose guidance
  • Category: Changed to q-a (more standard)

Kept:

  • Core analysis logic
  • GitHub Actions API usage
  • Report format and structure
  • Practical recommendations

Files Added

  • workflows/artifacts-summary.md - Workflow definition
  • docs/artifacts-summary.md - Comprehensive documentation
  • README.md - Added to "Research, Status & Planning Workflows" section

Why Not Other Candidates?

During evaluation, I also considered:

  • breaking-change-checker - Too CLI-specific
  • cli-consistency-checker - gh-aw tool specific
  • security-compliance - Too enterprise/campaign focused
  • stale-repo-identifier - Requires organization-level permissions
  • audit-workflows - Agentic workflow infrastructure specific
  • daily-file-diet - Depends on Serena (Go-specific tool)

Artifacts Summary emerged as the best candidate because it solves a universal problem (storage costs) with zero dependencies and maximum generalizability.

Use Cases

  1. Cost-conscious teams: Monitor storage costs before they spike
  2. Large repositories: Understand artifact patterns across many workflows
  3. Optimization campaigns: Establish baseline, optimize, measure improvement
  4. Compliance: Track artifact retention and data lifecycle
  5. Budget planning: Generate reports for quarterly cost estimates

Both Phase 1 fixes and Phase 2 workflow addition are included in this single PR to ensure comprehensive repository improvements in one review cycle.

AI generated by Daily Repo Goal Achiever

- Fix typo 'the a step' -> 'a step' in daily-test-improver.md
- Fix duplicate step numbering (4, 4, 5, 6, 7, 8) -> (4, 5, 6, 7, 8, 9) in pr-fix.md
This workflow analyzes GitHub Actions artifacts usage across all workflows
and provides comprehensive reports with storage optimization recommendations.

Source: gh-aw/.github/workflows/artifacts-summary.md
Category: Infrastructure/Cost Management
General Purpose: Works for any repository with GitHub Actions

Key features:
- Analyzes artifact usage across all workflows
- Calculates storage statistics (count, size, averages)
- Provides actionable optimization recommendations
- Creates discussion with comprehensive report
- Helps manage GitHub Actions storage costs

Generalizations made:
- Removed gh-aw-specific shared imports (mood.md, reporting.md, safe-output-app.md)
- Removed sandbox/firewall settings
- Simplified safe-outputs to discussion only
- Made schedule more flexible (weekly instead of specific time)
- Added clearer documentation for general repositories

Files added:
- workflows/artifacts-summary.md
- docs/artifacts-summary.md
- README.md (added entry under Research, Status & Planning Workflows)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants